﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class Tp_TouPiaoLog:NFinal.Struct
    {
		public System.Int32? id {get;set;}
		public System.Int32? activityID {get;set;}
		public System.String toOpenID {get;set;}
		public System.String fromOpenID {get;set;}
		public System.DateTime? tpTime {get;set;}
		public System.String memoa {get;set;}
		public System.String memob {get;set;}
		public System.String memoc {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"id\":");
					tw.Write(id==null?"null" : id.ToString());
					tw.Write(",");
					tw.Write("\"activityID\":");
					tw.Write(activityID==null?"null" : activityID.ToString());
					tw.Write(",");
					tw.Write("\"toOpenID\":");
					tw.Write("\"");
					tw.Write(toOpenID==null?"null":toOpenID);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"fromOpenID\":");
					tw.Write("\"");
					tw.Write(fromOpenID==null?"null":fromOpenID);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"tpTime\":");
					tw.Write("\"");
					tw.Write(tpTime==null?"null":tpTime.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"memoa\":");
					tw.Write("\"");
					tw.Write(memoa==null?"null":memoa);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"memob\":");
					tw.Write("\"");
					tw.Write(memob==null?"null":memob);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"memoc\":");
					tw.Write("\"");
					tw.Write(memoc==null?"null":memoc);
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
